package router

import (
	"gateway-api/handler/api"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.POST("/sendSms", api.SendSms)
	r.POST("/login", api.Login)
	r.POST("/HospitalList", api.HospitalList)
	r.POST("/PackageList", api.PackageList)
	r.POST("/CreateReserveStock", api.CreateReserveStock)
	r.POST("/ReserveStockList", api.ReserveStockList)
	r.POST("/OrderCreate", api.OrderCreate)
	r.POST("/OrderList", api.OrderList)
	r.POST("/DeparmentList", api.DeparmentList)
	r.POST("/DeparmentUpdate", api.DeparmentUpdate)
	r.POST("/DockerList", api.DockerList)
	r.POST("/DockerDetail", api.DockerDetail)
	r.POST("/medicalRecord", api.MedicalRecord)
	r.GET("chat", api.chat)
	return r

}
